export default {
  functional: true,
  props: {
    msg: {
      type: String,
      default: ''
    },
    center: {
      type: String,
      default: ''
    }
  },
  render (createElement, context) {
    const { msg, center } = context.props
    return (<div class={center && 'center'}>
      <p class="title">
        <strong>{msg}</strong>
      </p>
    </div>)
  }
}
